package dao;

import bean.Person;

import java.util.List;

public interface PersonDAO {
    void save(Person person);

    void update(Person temporary);

    void delete(int personId);

    List<Person> query();

    Person query(int personId);
}
